﻿using System;
using System.Collections.Generic;
using System.Web;

namespace Slja.Model
{
    /// <summary>
    /// 实体类PrjMain 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class PrjMain
    {
        public PrjMain()
        { }
        #region Model
        private int _id;
        private string _region;
        private string _shop;
        private string _prjid;
        private string _prjname;
        private string _designer;
        private string _designdate;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Region
        {
            set { _region = value; }
            get { return _region; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Shop
        {
            set { _shop = value; }
            get { return _shop; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PrjID
        {
            set { _prjid = value; }
            get { return _prjid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PrjName
        {
            set { _prjname = value; }
            get { return _prjname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Designer
        {
            set { _designer = value; }
            get { return _designer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DesignDate
        {
            set { _designdate = value; }
            get { return _designdate; }
        }
        #endregion Model

        private List<PrjDesignDetail> _prjdesigndetails;
        /// <summary>
        /// 子类 
        /// </summary>
        public List<PrjDesignDetail> PrjDesignDetails
        {
            set { _prjdesigndetails = value; }
            get { return _prjdesigndetails; }
        }

    }
    /// <summary>
    /// 实体类PrjDesignDetail 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class PrjDesignDetail
    {
        public PrjDesignDetail()
        { }
        #region Model
        private int _id;
        private int _pid;
        private string _designxml;
        private string _imgpath;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PID
        {
            set { _pid = value; }
            get { return _pid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DesignXml
        {
            set { _designxml = value; }
            get { return _designxml; }
        }
        public string ImgPath
        {
            set { _imgpath = value; }
            get { return _imgpath; }
        }
        #endregion Model

    }

    /// <summary>
    /// 设计部的上传文件包:实体类
    /// </summary>
    [Serializable]
    public partial class PrjDesignFilepack
    {
        public PrjDesignFilepack()
        { }
        #region Model
        private int _id;
        private int _pid;
        private string _filepackname;
        private string _filepackpath;
        private decimal? _filepacksize;
        private string _filepacksizeDescr;
        private string _memo;
        private DateTime _uploadtime;
        private int _createrid;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 项目表的ID号
        /// </summary>
        public int PID
        {
            set { _pid = value; }
            get { return _pid; }
        }
        /// <summary>
        /// 文件包名称
        /// </summary>
        public string FilepackName
        {
            set { _filepackname = value; }
            get { return _filepackname; }
        }
        /// <summary>
        /// 文件路径
        /// </summary>
        public string FilepackPath
        {
            set { _filepackpath = value; }
            get { return _filepackpath; }
        }
        /// <summary>
        /// 文件大小
        /// </summary>
        public decimal? FilepackSize
        {
            set { _filepacksize = value; }
            get { return _filepacksize; }
        }
        /// <summary>
        /// 文件大小的描述
        /// </summary>
        public string FilepackSizeDescr
        {
            set { _filepacksizeDescr = value; }
            get { return _filepacksizeDescr; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Memo
        {
            set { _memo = value; }
            get { return _memo; }
        }
        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime UploadTime
        {
            set { _uploadtime = value; }
            get { return _uploadtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreaterID
        {
            set { _createrid = value; }
            get { return _createrid; }
        }
        #endregion Model

    }
}